package com.huawei.java.main.inputentity;


public class Require {
    private String requireType;//命令类型，如add、del
    private String VMName;
    private int VMId;//虚拟机id
    private VisualMachine vm;//所需要的虚拟机类型

    public VisualMachine getVm() {
        return vm;
    }

    public void setVm(VisualMachine vm) {
        this.vm = vm;
    }

    public String getRequireType() {
        return requireType;
    }

    public void setRequireType(String requireType) {
        this.requireType = requireType;
    }

    public String getVMName() {
        return VMName;
    }

    public void setVMName(String VMName) {
        this.VMName = VMName;
    }

    public int getVMId() {
        return VMId;
    }

    public void setVMId(int VMId) {
        this.VMId = VMId;
    }

    @Override
    public String toString() {
        return "Require{" +
                "requireType='" + requireType + '\'' +
                ", VMName='" + VMName + '\'' +
                ", VMId=" + VMId +
                ", vm=" + vm +
                "}\n";
    }
}
